package rolemenu

import (
	"context"
	"ruoyi-vue-pro-go/internal/service"

	"ruoyi-vue-pro-go/api/rolemenu/v1"
)

func (c *ControllerV1) AssignRoleMenu(ctx context.Context, req *v1.AssignRoleMenuReq) (res *v1.AssignRoleMenuRes, err error) {
	return service.RoleMenu().AssignRoleMenu(ctx, req)
}
